/* 
 * Since 2008 - 2012
 */
package com.hh.bss.oa.vo.query;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.*;

import com.hh.bss.base.*;
import com.hh.bss.common.page.*;
import com.hh.bss.common.page.impl.*;
import com.hh.bss.oa.dao.*;
import com.hh.bss.oa.entity.*;
import com.hh.bss.oa.service.*;
import com.hh.bss.oa.vo.query.*;
import com.hh.bss.util.*;





public class OaNewsAttachmentQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 3148176768559230877L;
    

	/** id */
	private java.lang.Integer id;
	/** ËùÊôÎÄÕÂ */
	private java.lang.Integer newsId;
	/** ¸½¼þÃû */
	private java.lang.String attachmentName;
	/** ¸½¼þÎÄ¼þ */
	private java.lang.String attachmentFile;
	/** ÎÄ¼þ´óÐ¡ */
	private java.lang.Integer attachmentFilesize;
	/** ÎÄ¼þÀàÐÍ */
	private java.lang.String attachmentFiletype;
	/** ÉÏ´«Ê±¼ä */
	private java.util.Date uploadDtBegin;
	private java.util.Date uploadDtEnd;

	public java.lang.Integer getId() {
		return this.id;
	}
	
	public void setId(java.lang.Integer value) {
		this.id = value;
	}
	
	public java.lang.Integer getNewsId() {
		return this.newsId;
	}
	
	public void setNewsId(java.lang.Integer value) {
		this.newsId = value;
	}
	
	public java.lang.String getAttachmentName() {
		return this.attachmentName;
	}
	
	public void setAttachmentName(java.lang.String value) {
		this.attachmentName = value;
	}
	
	public java.lang.String getAttachmentFile() {
		return this.attachmentFile;
	}
	
	public void setAttachmentFile(java.lang.String value) {
		this.attachmentFile = value;
	}
	
	public java.lang.Integer getAttachmentFilesize() {
		return this.attachmentFilesize;
	}
	
	public void setAttachmentFilesize(java.lang.Integer value) {
		this.attachmentFilesize = value;
	}
	
	public java.lang.String getAttachmentFiletype() {
		return this.attachmentFiletype;
	}
	
	public void setAttachmentFiletype(java.lang.String value) {
		this.attachmentFiletype = value;
	}
	
	public java.util.Date getUploadDtBegin() {
		return this.uploadDtBegin;
	}
	
	public void setUploadDtBegin(java.util.Date value) {
		this.uploadDtBegin = value;
	}	
	
	public java.util.Date getUploadDtEnd() {
		return this.uploadDtEnd;
	}
	
	public void setUploadDtEnd(java.util.Date value) {
		this.uploadDtEnd = value;
	}
	
	private String field_type;
	private String query;

	public String getField_type() {
		return field_type;
	}

	public void setField_type(String file_type) {
		this.field_type = file_type;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}
        private String sort;
	private String dir;

        public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		
		this.sort = sort;
		if (!StringHelper.isEmpty(sort)&&!StringHelper.isEmpty(dir))
		  this.setSortColumns(sort+" "+dir);
	}

	public String getDir() {
		return dir;
	}

	public void setDir(String dir) {
		this.dir = dir;
	}
	public String toString() {
		return ToStringBuilder.reflectionToString(this,ToStringStyle.MULTI_LINE_STYLE);
	}
	
}

